import { HttpException, HttpStatus } from '@nestjs/common';
import { ApiExtraModels } from '@nestjs/swagger';

export class BadRequersException extends HttpException {
  constructor() {
    super(HttpException.createBody({
      error: 'hahha ',
      message: 'message',
      status: HttpStatus.BAD_REQUEST
    }), HttpStatus.BAD_REQUEST);
  }
}
